package d7_abstract_dome02;

public class Teacher extends People{
    @Override
    public void writeMain() {
        System.out.println("\t我的爸爸真有担当");
    }
//毕竟你的右边对象时老师,所以writeMain()还是调用老师的
}
